package com.qiaofang.applet.service.other.domain;

import com.qiaofang.applet.common.base.BaseDomain;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.util.Set;

@Data
@Document(collection = "other_carousel")
@ApiModel("轮播图表")
@NoArgsConstructor
public class Carousel extends BaseDomain {

    @ApiModelProperty("轮播图标题")
    private String carouselTitle;

    @ApiModelProperty("轮播图图片")
    private String carouselUrl;

    @ApiModelProperty("轮播图详情")
    private String carouselInfo;

    @ApiModelProperty("城市code集合")
    Set<String> cityCodes;

    @ApiModelProperty("轮播图排序")
    private Integer carouselSort;

    @ApiModelProperty("轮播图状态：下架/上架")
    private String carouselStatus;

    @ApiModelProperty("轮播图类型: 移动端/WEB端")
    private String carouselType;

    @ApiModelProperty("轮播图跳转url")
    private String carouselJumpUrl;
}
